import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../components/HelloWorld'//首页
import Hello1 from '../components/HelloWorld1'//首页

 
Vue.use(Router)
 
export default new Router({
  routes: [
    {//首页
      path: '/',
      name: 'Hello',
      component: Hello
    },
    {
      path: '/Hello1',
      name: 'Hello1',
      component: Hello1
    },
  ]
})